﻿<fieldset>
	<legend>任务详细信息</legend>
            
	<div class="editor-label">
		标题
	</div>
	<div class="editor-field">
    <input type="hidden" id="Task_ID" name="ID" value="${ID}" />
		<input type="text" id="Task_Title" name="Title" value="${Title}" />
	</div>

  <div class="editor-label">
    状态
  </div>
  <div class="editor-field">
    <select name="Status" id="Task_Status">
       <!-- <option value="Not Started">Not Started</option>
        <option value="In Progress">In Progress</option>
        <option value="Completed">Completed</option>
        <option value="Deferred">Deferred</option>
        <option value="Waiting on someone else">Waiting on someone else</option>-->
        <!-- TODO: 下面这个列表应该按照IVoweiContext.GetTaskStatusDefinitions返回的值动态设置 -->
        <option value="Not Started">Not Started</option>
        <option value="Accepted">Accepted</option>
        <option value="In Progress">In Progress</option>
        <option value="Under Review">Under Review</option>
        <option value="Completed">Completed</option>
        <option value="Closed">Closed</option>
        <option value="Deferred">Deferred</option>
        <option value="Rejected">Rejected</option>
        <option value="Canceled">Canceled</option>
    </select>
  </div>
    
  <div class="editor-label">
    进度
  </div>
  <div class="editor-field">
    <input type="text" id="Task_Progress" name="Progress" value="${Progress}" />
  </div>
    
	<div class="editor-label">
		指派给
	</div>
	<div class="editor-field">
		<input type="text" id="Task_AssignedTo" name="AssignedTo" value="${AssignedTo}" />
	</div>
            
  <div class="editor-label">
    开始时间
  </div>
  <div class="editor-field">
    <input type="text" name="StartDate" value="${format_date(StartDate)}" id="Task_StartDate" class="DateTimeClass" />
  </div>
            
  <div class="editor-label">
    结束时间
  </div>
  <div class="editor-field">
    <input type="text" name="DueDate" value="${format_date(DueDate)}" id="Task_DueDate" class="DateTimeClass" />
  </div>
            
	<div class="editor-label">
		重复任务？
	</div>
	<div class="editor-field">
		<input type="checkbox" id="Task_IsRecursive" name="IsRecursive" value="${IsRecursive}" />
	</div>

  <div class="editor-label">
    里程碑
  </div>
  <div class="editor-field" id="milestone_list">
  </div>
            
	<div class="editor-label">
		描述
	</div>
	<div class="editor-field">
		<input type="text" class="HtmlClass" id="Task_Description" name="Description" value="${Description}" />
	</div>

  <div class="editor-label">
    标签
  </div>
  <div class="editor-field">
    <input type="text" id="Task_TagText" name="TagText" value="${TagText}" />
  </div>
    
</fieldset>